FROM adoptopenjdk/openjdk8
MAINTAINER 1960370817@qq.com
ENV TimeZone=Asia/Shanghai
RUN ln -snf /usr/share/zoneinfo/$TimeZone /etc/localtime && echo $TimeZone > /etc/timezone
ADD fast-log-server.jar fast-log-server.jar
# ENTRYPOINT ["java", "-jar", "/fast-log-server.jar"]
ENTRYPOINT java $JAVA_OPTS -jar fast-log-server.jar